from fastapi import APIRouter

from app.api.v1.endpoints import users, jobs, credits, recharge, gallery, interactions, upload, payment_debug, ai_debug, task_monitor, quota_management
from app.api.v1 import video

api_router = APIRouter()
api_router.include_router(users.router, prefix="/auth", tags=["auth"])
api_router.include_router(jobs.router, prefix="/jobs", tags=["jobs"])
api_router.include_router(credits.router, prefix="/credits", tags=["credits"])
api_router.include_router(recharge.router, prefix="/recharge", tags=["recharge"])
api_router.include_router(upload.router, prefix="/upload", tags=["upload"])
api_router.include_router(gallery.router, prefix="/gallery", tags=["gallery"])
api_router.include_router(interactions.router, tags=["interactions"]) # No prefix needed as paths are defined in the endpoint
api_router.include_router(payment_debug.router, prefix="/payment-debug", tags=["payment-debug"])
api_router.include_router(ai_debug.router, prefix="/ai-debug", tags=["ai-debug"])
api_router.include_router(task_monitor.router, prefix="/task-monitor", tags=["task-monitor"])
api_router.include_router(quota_management.router, prefix="/quota", tags=["quota-management"])
api_router.include_router(video.router, tags=["video"])  # Celery视频生成
